package com.zmj.framework.authorization.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 李飞
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="AccessToken对象", description="获取token返回实体")
public class AccessToken{

    @ApiModelProperty(value = "token令牌")
    private String access_token;

    @ApiModelProperty(value = "token类型")
    private String token_type;

    @ApiModelProperty(value = "有效期")
    private Integer expires_in;

    @ApiModelProperty(value = "权限")
    private String scope;

    @ApiModelProperty(value = "refresh_token 令牌")
    private String refresh_token;

    @ApiModelProperty(value = "refresh_token 有效期")
    private Integer refresh_expires_in;

}
